package com.guigu.www.mapper;

import com.guigu.www.pojo.MindTest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author DengHao
 * @since 2021-10-21
 */
public interface MindTestMapper extends BaseMapper<MindTest> {
    /*根据用户的id查询心理表信息*/
    @Select("SELECT * FROM mind_test WHERE mem_id=#{sid}")
    MindTest selectMind(int sid);
}
